$(document).ready(function(){
//首页
	$(".services_s .items").scrollable({size:1,items:".services_s .items .item",loop:true}).navigator({navi:"ul.btn1",naviItem:"li",activeClass:"active"}).autoscroll({
		interval: 4000});
	
    $('.return_top').click(function(){
$('html, body').animate({scrollTop: 0},500);
});

//新闻活动
$(".block .botton-scroll").scrollable({size:6,items:".block .botton-scroll ul",loop:true,prev:".prev_show",next:".next_show"});	

//漂浮
$(function(){
$(window).resize(function(){goTop();});
$(window).scroll(function(){goTop();});
});
function goTop(){

$(".piaofu").stop().animate({"top":($(window).height()+$(window).scrollTop()-($(window).height()+$(".piaofu").height())/2)},800);
}
});